package com.common.vo.res;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * ys_file_info
 * @author 
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("文件上传")
public class FileInfoRes implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("附件id")
    private Long id;


    @ApiModelProperty("附件名称")
    private String fileName;

    @ApiModelProperty("附件类型 0-旧衣物 1-回收流程")
    private Integer fileType;


    @ApiModelProperty("附件类型 0-旧衣物 1-回收流程")
    private String fileTypeDsc;

    @ApiModelProperty("创建人")
    private String created;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdDate;

   
    @ApiModelProperty("更新人")
    @TableField(value="`update`")
    private String update;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateDate;

  
    @ApiModelProperty("附件是否启用 0-启用 1-禁用")
    private Integer enable;
   
}